﻿using System;
using System.Collections.Generic;
using System.IO.Ports;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models
{
    /// <summary>
    /// 串口参数
    /// </summary>
    public class Serial
    {
        public string PortName { get; set; }

        public int BaudRate { get; set; }

        public Parity Check { get; set; }

        public StopBits StopBits { get; set; }

        public int DataBits { get; set; }
    }
}
